<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <script src="./js/setRem.js"></script>
  <link rel="stylesheet" href="./lib/fonts/font-awesome.min.css">
  <link rel="stylesheet" href="./css/base.css">
  <link rel="stylesheet" href="./css/productlist.css">
  <title>慢慢买-商品列表页</title>
</head>

<body>
  <div class="mmb-layout">
    <!-- 头部 -->
    <div class="mmb-header">
      <a href="#" class="pull-left logo"><img src="./images/header_logo.png" alt=""></a>
      <a href="#" class="pull-right app"><img src="./images/header_app.png" alt=""></a>
    </div>
    <!-- 搜索区 -->
    <div class="mmb-search">
      <input type="text" class="search-input" placeholder="请输入你想比价的商品">
      <a href="#" class="search-btn">搜索</a>
    </div>
    
    <!-- 面包屑导航栏 -->
    <div class="mmb-pathNav">
      <ul class="clearfix">
        <li><a href="#">首页 <span class="fa fa-angle-right"></span></a></li>
        <li><a href="#">全部分类 <span class="fa fa-angle-right"></a></li>
        <li><a href="#">电视 <span class="fa fa-angle-right"></a></li>
      </ul>
      <a href="#">筛选</a>
    </div>

    <!-- 商品详情 -->
    <div class="mmb-prolist">
      <div class="list clearfix">
        <div class="list-left">
          <img src="./images/ic_mall.png" alt="">
        </div>
        <div class="list-right">
          <p>乐视tv乐视tv乐视tv乐视tv乐视tv乐视tv乐视tv乐视tv乐视tv乐视tv乐视tv乐视tv乐视tv乐视tv乐视tv乐视tv乐视tv</p>
          <p class="price">￥1999.0</p>
          <span>报价(6)</span><span>评价(2286)</span>
        </div>
      </div>
    </div>

    <!-- 分页器 -->
    <div class="mmb-paging">
      <ul class="clearfix">
        <li>
          <a href="#" class="prev">上一页</a>
        </li>
        <li>
          <select name="paging" class="paging">
            <option value="1">1/3</option>
          </select>
        </li>
        <li>
          <a href="#" class="next">下一页</a>
        </li>
      </ul>

    </div>


    <!-- 底部栏 -->
    <div class="mmd-footer">
      <div class="footer-top">
        <a href="#" id="login">登录</a>
        <a href="#" id="resign">注册</a>
        <a href="#" class="sm-top"><img src="http://www.zuyushop.com/wap/images/top.jpg" alt="">返回顶部</a>
      </div>
      <div class="footer-bottom">
        <p><a href="#">手机APP下载</a><a href="#">慢慢买手机版</a> -- 掌上比价平台</p>
        <a href="#">m.manmanbuy.com</a>
      </div>
    </div>
  </div>

  <!-- 面包屑导航模板引擎 -->
  <script type="text/html" id="tmp-poth">
    {{ each result v i}}
      <li><a href="./index1.html">首页 <span class="fa fa-angle-right"></span></a></li>
      <li><a href="./category.html">全部分类 <span class="fa fa-angle-right"></a></li>
      <li><a href="#">{{ v.category }} <span class="fa fa-angle-right"></a></li>
    {{ /each }}
  </script>

  <!-- 商品详情模板引擎 -->
  <script type="text/html" id="tmp-prolist">
    {{ each result v i}}
      <div class="list" data-id={{v.productId}}>
        <div class="list-left">
          {{@v.productImg}}
        </div>
        <div class="list-right">
          <p>{{ v.productName }}</p>
          <p class="price">{{ v.productPrice }}</p>
          <span>{{ v.productQuote }}</span><span>{{ v.productCom }}</span>
        </div>
      </div>
    {{ /each }}
  </script>

  <!-- 分页模板引擎 -->
  <script type="text/html" id="tmp-paging">
    <% for(var i =1; i<=page; i++) { %>
      <option value="{{ i }}">{{ i }}/{{ page }}</option>
    <% } %>
  </script>
  

  <script src="./lib/jquery/jquery.min.js"></script>
  <script src="./lib/artTemplate/template-web.js"></script>
  <script src="./js/setHttp.js"></script>
  <script src="./js/common.js"></script>
  <script src="./js/productlist.js"></script>


</body>

</html>